﻿<div id="mid-con_b">
  <div id="c_list">
    <div class="mb20" style="padding-bottom:20px; border-bottom:1px solid #ddd;"><ul class="nav nav-tabs"><li class="active"><a href="#info">我的概况</a></li><li style="float:right;">
  </li></ul><div class="tab-content"><div class="tab-pane active" id="info"><p class="mb10"><span>我的积分：</span><?=$jifen?><img src="http://www.aihufen.com/img/icon_point.png">&nbsp;&nbsp;                  <a href="javascript:;" onclick="$(&quot;#buy_btn&quot;).trigger(&quot;click&quot;);">[购买]</a>&nbsp;&nbsp;
  <a href="javascript:;" id="give_points_btn" data-original-title="">[积分转让]</a>
<p class="mb10"><span>我的粉币：</span><?=$coins?>&nbsp;&nbsp;<a   id="how_to_coins" href="javascript:;" data-original-title="">如何获得</a></p>
<p class="mb10"><span>今日收支：</span><span style="color:#008000;">收入：<?=$todatejifen['shouru']?></span>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#FF0000;">支出：<?=$todatejifen['zhichu']?></span></p><p class="mb10"><span>总推广数：</span><span><?=$tuiguangs['allnum']?></span>条，<span style="color:#FF0000;"><?=$tuiguangs['stopnum']?></span>条已暂停</p></div	></div></div>


<ul class="nav nav-tabs">
  <li class="active"><a href="#myfollow">关注推广</a></li>
</ul>
<div class="tab-content">
  <div class="tab-pane active" id="myrepost">
    <table width="80%" class="table table-striped table-bordered table-condensed">
      <thead >
        <tr>
          <td bgcolor="f2fcf9">1、在转发和关注列表中，自己看不到自己属正常现象 2、点击按钮无反应请更换浏览器</td>
        </tr>
      </thead>
    </table>
  </div>
</div>
<div class="tab-content">
  <div class="tab-pane active" id="myfollow">
    <table width="80%" class="table table-striped table-bordered table-condensed">
      <thead class='f12'>
        <tr>
          <th width='30%'>内容</th>
          <th width='7%'>出分</th>
          <th width='20%'>限制</th>
          <th width='17%'>被关注次/最大</th>
          <th width='7%'>状态</th>
          <th width='7%'>修改</th>
          <th width='7%'>删除</th>
        </tr>
      </thead>
      <?php
      $arr = array('不限制','女','男');
      
      if(! empty($follow) ){
      $h_class = array("","class='hide'");
      $follow['follow_fans1'] = $follow['follow_fans'];
      if($follow['follow_fans']== 0) $follow['follow_fans1'] = '不限制';
      if($follow['follow_status']== '0') $h_class = array("class='hide'",'');
      ?>
      <tbody>
        <tr id="f_<?=$follow['uid']?>">
          <td>我自己求关注</td>
          <td><?=$follow['follow_points']?></td>
          <td><div class='hide'><input type='hidden' name='gender_limit' value="<?=$follow['follow_gender']?>" /><input type='hidden' name='fans_limit' value="<?=$follow['follow_fans']?>" />
        </div>
      性别：<?=$arr[$follow['follow_gender']].'<br />粉丝数:'.$follow['follow_fans1']?></td>
      <td><?=$follow['follow_num'].'/'.$follow['follow_max_num']?></td>
      <td><a <?=$h_class[0]?> href='javascript:;' id="stop_0_<?=$follow['uid']?>" title='推广中,点击暂停推广'>
        <img alt='现在推广中,点击暂停推广' class='png_bg' src="../img/play.png" /></a>
        <a <?=$h_class[1]?> href='javascript:;' id="play_0_<?=$follow['uid']?>" title='停止中,点击开启推广'>
      <img alt='停止中,点击开启推广' class='png_bg' src="../img/stop.png" /></a></td>
      <td><a href='javascript:;' id="edit_0_<?=$follow['uid']?>"><img class='png_bg' src="../img/edit.png" /></a></td>
      <td><a href='javascript:;' id="del_0_<?=$follow['uid']?>"><img class='png_bg' src="../img/delete.png" /></a></td>
    </tr>
    
    <?php
    }
    ?>
  </tbody>
</table>

</div>
</div>
 
<p>&nbsp;</p>
<ul class="nav nav-tabs">
<li class="active"><a href="#myrepost" data-toggle="tab">转发推广</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="myrepost">
<table width="80%" class="table table-striped table-bordered table-condensed">
  <thead >
    <tr>
      <td bgcolor="f2fcf9">1、若总是无故暂停,请<a href="../css/help.html" target="_blank">点击查看原因</a>。 2、如显示<img src="/img/stop.png" />标志,表示推广暂定中,请点它设为进行中。</td>
    </tr>
  </thead>
</table>
</div>
</div>
<div class="tab-content">
<div class="tab-pane active" id="myrepost">
<table  class="table table-striped table-bordered table-condensed">
  <thead class='f12'>
    <tr>
      <th width='30%'>内容</th>
      <th width='7%'>出分</th>
      <th width='20%'>限制</th>
      <th width='17%'>转发数/最大</th>
      <th width='7%'>状态</th>
      <th width='7%'>修改</th>
      <th width='7%'>删除</th>
    </tr>
  </thead>
  <tbody>
    <?php
    if(! empty($reposts) ){
    foreach($reposts as $repost):
    $h_class = array("","class='hide'");
    $repost['rp_fans1'] = $repost['rp_fans'];
    if($repost['rp_status']== '0') $h_class = array("class='hide'",'');
    if($repost['rp_fans']== 0) $repost['rp_fans1'] = '不限制';
    ?>
    <tr id="r_<?=$repost['id']?>">
      <td><?=$repost['content']?></td><td><?=$repost['rp_points']?></td>
      <td><div class='hide'><input type='hidden' name='gender_limit' value="<?=$repost['r_gender']?>" /><input type='hidden' name='rfans_limit' value="<?=$repost['rp_fans']?>" /></div>性别：<?=$arr[$repost['r_gender']]?><br />粉丝数：<?=$repost['rp_fans1']?></td>
      <td><?=$repost['rp_num']?>/<?=$repost['rp_max_num']?></td>
      <td><a <?=$h_class[0]?> href='javascript:;' id="stop_1_<?=$repost['id']?>" title='进行中,点击暂停推广'>
        <img alt='进行中,点击暂停推广' class='png_bg' src="../img/play.png" /></a>
      <a <?=$h_class[1]?>  href='javascript:;' id="play_1_<?=$repost['id']?>" title='停止中,点击开启推广'><img alt='停止中,点击开启推广' class='png_bg' src="../img/stop.png" /></a></td>
      <td><a href='javascript:;' id="edit_1_<?=$repost['id']?>"><img class='png_bg' src="../img/edit.png" /></a></td><td><a href='javascript:;' id="del_1_<?=$repost['id']?>"><img class='png_bg' src="../img/delete.png" /></a></td>
    </tr>
    <?php
    
    endforeach;
    }
    ?>
  </tbody>
</table>
<script type="text/javascript" src="../js/tuiguang.js?version=201301061632"></script>
</div>
</div>
</div>
</div>  <script src="/js/weibo.js?version=201301061532"></script>
<script src="/js/index.js"></script>